package com.example.service;

import com.example.entity.vote.VoteRecording;

import java.util.List;
import java.util.Map;

public interface VoteService {
    List<Integer> getVoteCountByGid(int gid);
    List<Map<String, Integer>> getAllVoteCount();
    List<Map<String, Integer>> getAllVoteCountSinger();
    Integer getVoteCountByUid(int uid);
    Integer isVoteReCording(VoteRecording voteRecording);
    String addVoteReCording(VoteRecording voteRecording);
    String deleteVoteRecordingByUidAndGid(int sid, int uid, int gid);
}
